﻿using Commonality;
using Commonality.DTO.AuthorityDTO;
using Models;
using Models.Authority;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ICarlifeService
{
    public interface IRolesService : IBaseServer<Roles>
    {
        public int GetRoleAdd(Roles entity);
        public List<RolesDTO> GetRoleAll();
        //public int GetRoleDelet(int id);
        public int GetRoleUpdate(Roles entity);
        public Roles GetRoleByid(int id);
        public int GetRoleRemove(int id);//逻辑删除
    }
}
